package cn.monkey.family.server.domain.sys.address;

import cn.monkey.family.data.sys.address.AddressMapper;
import org.mapstruct.factory.Mappers;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AddressConfig {
    @Bean
    AddressMapper addressMapper() {
        return Mappers.getMapper(AddressMapper.class);
    }
}
